package com.example.TEvaluation.service;

import com.example.TEvaluation.domain.User;
import com.example.TEvaluation.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImp implements UserService{

    @Autowired
    UserMapper userMapper;

  /*  @Override
    public User findall(String username) {
        System.out.println("服务曾");
        return userMapper.findall(username);
    }
*/
    @Override
    public User login(User user) {
           Integer a=user.getUserid();
            userMapper.login(user.getUserid(),user.getPassword());
        return null;
    }


}
